<template>
  <!-- 订单列表-->
  <div>
    <ul class="flexWap padding15 borderB1">
    
      <li class="wid250px marginB10 marginR10">
        <el-input placeholder="请输入搜索的内容" @change="search" v-model="pages.keyWord" :clearable="true">
        </el-input>
      </li>

      <li class="marginB10 marginR10">
        
        <el-button type="primary" @click="search">查询</el-button>
      </li>
      <li class="marginB10 marginR10">
        <el-button type="danger">批量删除</el-button>
      </li>
    
    </ul>
      
    <div class="padding15">
      <el-table
              :data="lists"
              height="580"
              stripe
              border
              style="width: 100%">
              <el-table-column align="center" type="index" label="序号" width="50" />
      
        <el-table-column align="center" prop="organizationName" label="交易商品" min-width="160"/>
        <el-table-column  align="center" prop="endTime" label="订单编码" width="160" ></el-table-column>
        <el-table-column  align="center" prop="endTime" label="会员名称" width="120" ></el-table-column>
        <el-table-column  align="center" prop="endTime" label="订单时间" width="120" ></el-table-column>
        <el-table-column  align="center" prop="endTime" label="消费金额" width="120" ></el-table-column>
        <el-table-column  align="center" prop="endTime" label="订单状态" width="120" ></el-table-column>
        <el-table-column label="操作" align="center" width="180" fixed="right">
          <template slot-scope="scope">
            <el-button size="mini"  type="primary" @click="handleLook(scope.row)">交易快照</el-button>
             <el-button size="mini"  type="danger" @click="handleDelete(scope.row)">删除</el-button>
          </template>
        </el-table-column>
      </el-table>
      <Pagination :total="total" :pages="pages" :searchQuery="searchQuery"></Pagination>
    </div>

 
  </div>
</template>
<script>
  // import {questionnaireRecordReportList,questionnaireRecordDel} from '@/assets/api/api'
  import {Mixin} from '@/assets/mixins/mixin'
  import moment from 'moment'
  export default {
    name:'OrderList',
    mixins: [Mixin],
    components:{
    },
    props:['dispatchId','contentId'],
    data(){
      return{
        addEditPath:'/order/orderDetail',//新增编辑的路径
        pageLoading:false,
        multipleSelection:[],
        options:[{name:'请选择',id:''}],
        evaluateShow:false,
        title:'新增',
        pages:{ //分页搜索
          keyWord:'',
          page:1,
          size:10,
        },
        total:0,// 总条数
        loading:false,//加载中...
        lists:[{id:1}],
        detailObj:{},//点击每行的详情数据
        
      }
    },
    created() {
       
    },
    methods:{
      shenhe(v){
          console.log(v,'scope.row')
        
            this.detailObj = v;
              this.evaluateShow = true;
         
      },
  
      close(){
         this.evaluateShow = false;
      },
      handleSelectionChange(val) {//多选
        this.multipleSelection = val;
      },
     
  
    }
  }
</script>
<style lang="scss" scoped>
::v-deep .el-input-group__append, ::v-deep.el-input-group__prepend{
    color: #fff;
  }

</style>
